package com.yami.shop.mystery.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.mystery.common.model.ActivityPresellQualification;

public interface ActivityPresellQualificationServer extends IService<ActivityPresellQualification> {

    // type 1 商品 2 盲盒
    Long getQualificationCount(Long prodId,String userId,Long type);

    // 核销权益 取消订单 次数回滚
    void addTimesBySourceId(long personRightsId, long times);

    // 权益过期处理
    void startAssetTransfer();

}
